"use strict";
function getSuperAdmin(params) {
    console.log(params);
}
function getMinAge(params) {
    return params.sort(function (a, b) { return b.age - a.age; })[0];
}
var res = getMinAge([
    { id: 1, name: '李', age: 12 },
    { id: 2, name: '彭', age: 133 },
    { id: 3, name: '陆', age: 16 },
    { id: 4, name: '胡', age: 23 },
    { id: 5, name: '付', age: 123 },
]);
console.log(res);
